Skip to main content

is not among

Type

operator

Summary

Evaluates to true if a chunk is not equal to any of the chunks in a string, false otherwise.

Syntax

<valueToFind> is not among the {paragraphs | sentences | lines | items | words | segments | trueWords | tokens | codePoints | codeUnits | bytes} of <stringToSearch>

Description

Use the is not among operator to find out whether a string does not exist as an entire word, item, or line of another string.

The valueToFind must be a single word, item, or line (whichever chunk type you have specified). If you specify a string containing more than one chunk, the is not among operator evaluates to true, even if all the chunks are in the stringToSearch.

The is not among operator is the logical inverse of the is among operator. When one is true, the other is false.

Parameters

NameTypeDescription

valueToFind

string

stringToSearch

string

A string is an expression that evaluates to a string.

Examples

"a" is not among the words of "human" -- evaluates to true

keyword: characters

operator: is among the keys of, contains, is among

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?